﻿using System.Collections.Generic;

using Assesment.Library.Enum;

namespace Assesment.Library.Interfaces
{
    /// <summary>
    /// Implement Searching Method
    /// </summary>
    /// <typeparam name="T">Domain Class</typeparam>
    public interface ISearchable<T>
    {
        List<T> GetList(int pageSize, int currentPage, string sortName, string sortOrder, string parameters);
        object SelectScalar(SQL.Function.Aggregate function, string column, string parameters);

    }
}
